fix(bindgen,format): enable wasm encoded to be used in the bindgen! macro#12857
Conversation
|
Couple of questions came up with this PR:
|
Ah this is fine as-is, it's more-or-less well-tested already and relaxing to bytes I think is reasonable to have without a test.
nope, just some old code and you're witnessing how things evolved over time :) If you'd like to help clean up with a PR that'd be much appreciated! |
Use
include_bytesen lieu ofinclude_stringto allow WASM encoded components to be passed intowasmtime::component::bindgen.wit_parser::Resolve::push_pathseems to already support wasm-encoded format (Added in bytecodealliance/wasm-tools#2415):